Skip to content

feat: include path dependencies in SBOM with repository_url=local qua…#384

Merged
a-oren merged 1 commit into
guacsec:mainfrom
a-oren:path-dep
Mar 30, 2026
Merged

feat: include path dependencies in SBOM with repository_url=local qua…#384
a-oren merged 1 commit into
guacsec:mainfrom
a-oren:path-dep

Conversation

@a-oren

@a-oren a-oren commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

…lifier

Description

Path dependencies (source == null in cargo metadata) are now included in the generated SBOM with a repository_url=local qualifier on their PURL, e.g. pkg:cargo/crate-a@0.1.0?repository_url=local. This lets the backend distinguish local crates from registry packages and skip vulnerability checks for them, while still preserving the full dependency tree in the SBOM.

Related issue (if any): fixes #issue_number_goes_here

Checklist

  • I have followed this repository's contributing guidelines.
  • I will adhere to the project's code of conduct.

Additional information

Anything else?

@a-oren
a-oren requested a review from soul2zimate March 30, 2026 10:46

@soul2zimate soul2zimate left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @a-oren

@a-oren
a-oren merged commit 3132c89 into guacsec:main Mar 30, 2026
18 of 39 checks passed
@a-oren
a-oren deleted the path-dep branch April 28, 2026 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants